package com.ck.shardinggo.dao;

import com.ck.shardinggo.model.PowerperformanceHistory;
import com.ck.shardinggo.model.PowerperformanceHistoryExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface PowerperformanceHistoryMapper {
    int countByExample(PowerperformanceHistoryExample example);

    int deleteByExample(PowerperformanceHistoryExample example);

    int deleteByPrimaryKey(Long id);

    int insert(PowerperformanceHistory record);

    int insertSelective(PowerperformanceHistory record);

    List<PowerperformanceHistory> selectByExample(PowerperformanceHistoryExample example);

    PowerperformanceHistory selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") PowerperformanceHistory record, @Param("example") PowerperformanceHistoryExample example);

    int updateByExample(@Param("record") PowerperformanceHistory record, @Param("example") PowerperformanceHistoryExample example);

    int updateByPrimaryKeySelective(PowerperformanceHistory record);

    int updateByPrimaryKey(PowerperformanceHistory record);
}